package com.yue92.datalife.service;

import com.yue92.datalife.model.RecordItem;

import java.time.LocalDate;
import java.util.List;

/**
 * @author mundo.wang on 2020/9/9
 */
public interface IRecordItemService extends IService<RecordItem, Long> {

    List<RecordItem> getAllByRecordIdAndRecordDate(Long recordId, LocalDate recordDate);

    Integer sum(Long recordId, LocalDate recordDate);

    Boolean existsByRecordId(Long recordId);

}
